package com.ddy.test.thread;

/**
 * Created by ddy on 2017/12/14.
 */
public class SynchronizedFunction {

    public static void run(int i){
        System.out.println("coming " + i);
        try {
            Thread.sleep(1);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("end " + i);
    }
}
